<?php

class UserDear extends Eloquent {

    protected $table    = 'user_dear';
    protected $fillable = array ( 'user_id', 'saint', 'dearname', 'relationship', 'address', 'phone', 'updater' );

    public function user() {
        return $this->belongsTo('User', 'user_id');
    }

}